﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.Goods;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Goods
{
    public interface IBTB_GoodsTypeBusiness
    {
        Task<PageResult<BTB_GoodsType>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task< BTB_GoodsType> GetTheDataAsync(string id);
        Task AddDataAsync(BTB_GoodsType data);
        Task UpdateDataAsync(BTB_GoodsType data);
        Task DeleteDataAsync(List<string> ids);
        List<BTB_GoodsType> All();
        List<BTB_GoodsType> AllBackstage();
        List<BTB_GoodsType> AllOneBackstage();
    }
}